projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99d7a69
)
Add #undef for index and rindex.
author
Karl Heuer
<kwzh@gnu.org>
Thu, 21 Dec 1995 08:06:29 +0000
(08:06 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 21 Dec 1995 08:06:29 +0000
(08:06 +0000)
lwlib/lwlib-utils.c
patch
|
blob
|
history
diff --git
a/lwlib/lwlib-utils.c
b/lwlib/lwlib-utils.c
index 1164482e182ca08c4a4c10f5165520c4fda93993..6949c87e21c3b1c1b5ee35c3cdcc8b725b19c66f 100644
(file)
--- a/
lwlib/lwlib-utils.c
+++ b/
lwlib/lwlib-utils.c
@@
-21,6
+21,13
@@
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <config.h>
#endif
+/* Definitions of these in config.h can cause
+ declaration conflicts later on between declarations for index
+ and declarations for strchr. This file doesn't use
+ index and rindex, so cancel them. */
+#undef index
+#undef rindex
+
#include <X11/Xatom.h>
#include <X11/IntrinsicP.h>
#include <X11/ObjectP.h>